package com.blog.study.study4;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by miss on 2017/11/11.
 *
 * --======================--
 * @updated by 张俊强
 * @content 添加该接口的默认方法
 *          从而可以通过配置动态的设置返回状态信息
 * ---=======================-
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ReturnWrapper {

    String code() default "SUCCESS";
    String msg() default "操作成功";

}
